.bg {
	width: 300px;
	height: 300px;
	border-radius: 8px;
	background-color: #fff;
	position: relative;
	overflow: hidden;
}

.puzzle-bg {
	width: 300px;
	height: 200px;
	background-color: red;
}

.image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.puzzle-gap {
	position: absolute;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.3);
	border: 2px dashed #1890ff;
	border-radius: 4px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.slider-control {
	margin-top: 20px;
	width: 100%;
}

.slider-track {
	position: relative;
	width: 100%;
	height: 40px;
	background: #f0f0f0;
	border-radius: 40px;
	cursor: pointer;
	overflow: hidden;
}

.slider-button {
	position: absolute;
	width: 40px;
	height: 40px;
	background: #1890ff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: bold;
	cursor: grab;
	user-select: none;
	transition: background 0.2s;
	z-index: 10;
}

.slider-text {
	text-align: center;
	margin-top: 10px;
	color: #666;
	font-size: 14px;
}

.puzzle-piece {
	position: absolute;
	width: 40px;
	height: 40px;
	background: linear-gradient(45deg, #1890ff, #52c41a);
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	transition: all 0.3s ease;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	z-index: 20;
	pointer-events: none;
}

.result-tip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 30;
  animation: fadeIn 0.3s ease;
}

.result-tip.success {
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
}

.result-tip.error {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  color: #ff4d4f;
}